package com.jgzx.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@ApiModel(value = "门户登录DTO")
@Data
@AllArgsConstructor
public class PortalUserDTO {

    @ApiModelProperty(value = "登录用户名", required = true)
    @NotEmpty(message = "登录用户名不能为空")
    private String username;

    @ApiModelProperty(value = "登录密码", required = true)
    @NotEmpty(message = "登录密码不能为空")
    private String password;
}
